﻿using System;

namespace Convience.Model.Models.SystemManage
{
    public class UserQueryModel
    {
        public int Page { get; set; }

        public int Size { get; set; }

        public string UserName { get; set; }

        public string PhoneNumber { get; set; }

        public string Name { get; set; }

        public string RoleId { get; set; }
    }

    public class UserViewModel
    {
        public int Id { get; set; }

        public string UserName { get; set; }

        public string PhoneNumber { get; set; }

        public int Sex { get; set; }

        public string Avatar { get; set; }

        public string Name { get; set; }

        public string RoleIds { get; set; }

        public bool IsActive { get; set; }

        public string Password { get; set; }
    }

    public class UserResultModel : UserViewModel
    {
        public DateTime CreatedTime { get; set; }
    }
}
